<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>layui</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="__PUBLIC__/layui/css/layui.css"  media="all">
  <link rel="stylesheet" href="__PUBLIC__/font-awesome/css/font-awesome.min.css" media="all" />
  <link rel="stylesheet" href="__CSS__/admin.css"  media="all">
  <!--<script src="http://{$Think.config.google_map_url}" async="async"></script>-->
  <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->

</head>
<style>

  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
  }

  input[type="number"] {
    -moz-appearance: textfield;
  }
  .diy{
    float: left;
    display: block;
    padding: 9px 3px;
    font-weight: 400;
    line-height: 20px;
    text-align: right;
  }
  .layui-form-item{
    margin-bottom: 5px;
  }
  .layui-form-label{
    width: 210px;
  }
</style>
<body>
<div style="margin-top: 20px;">
</div>

<form class="layui-form" id="admin">


  <div  id="classifybox">

    <div class="layui-form-item" >
      <label class="layui-form-label">联系人 :</label>
      <div class="layui-input-inline person" style="width: 400px">
        <div class="layui-input-inline" style="width: 400px;padding-bottom: 15px">
          <label class="diy">{$data['username']}</label>
        </div>
      </div>
    </div>

    <div class="layui-form-item" >
      <label class="layui-form-label">联系电话 :</label>
      <div class="layui-input-inline person" style="width: 400px">
        <div class="layui-input-inline" style="width: 400px;padding-bottom: 15px">
          <label class="diy">{$data['phoneCode']}{$data['phone']}</label>
        </div>
      </div>
    </div>

    <div class="layui-form-item" >
      <label class="layui-form-label">定制类型 :</label>
      <div class="layui-input-inline person" style="width: 400px">
        <div class="layui-input-inline" style="width: 400px;padding-bottom: 15px">
          <label class="diy">{if condition='$data.classId eq 0'}个人定制{else}企业定制{/if}</label>
        </div>
      </div>
    </div>

    <div class="layui-form-item" >
      <label class="layui-form-label">申请时间 :</label>
      <div class="layui-input-inline person" style="width: 400px">
        <div class="layui-input-inline" style="width: 400px;padding-bottom: 15px">
          <label class="diy">{$data['createtime']|date='Y-m-d H:i:s',###}</label>
        </div>
      </div>
    </div>

    <div class="layui-form-item" >
      <label class="layui-form-label">目的地 :</label>
      <div class="layui-input-inline person" style="width: 400px">
        <div class="layui-input-inline" style="width: 400px;padding-bottom: 15px">
          <label class="diy">{$data.tagName}</label>
        </div>
      </div>
    </div>

    <div class="layui-form-item" >
      <label class="layui-form-label">备注 :</label>
      <div class="layui-input-inline person" style="width: 400px">
        <div class="layui-input-inline" style="width: 400px;padding-bottom: 15px">
          <label class="diy">{$data['remarks']}</label>
        </div>
      </div>
    </div>

    {volist name='data.service' id='vo'}
    <div class="layui-form-item" >
      <label class="layui-form-label">{$vo->title} :</label>
      <div class="layui-input-inline person" style="width: 400px">
        <div class="layui-input-inline" style="width: 400px;padding-bottom: 15px">
          <label class="diy">{$vo->val}</label>
        </div>
      </div>
    </div>
    {/volist}


  </div>

</form>

<script src="__PUBLIC__/layui/layui.js"></script>
<script src="__PUBLIC__/jquery/jquery.min.js"></script>
<script>
    var message;
    layui.config({
        base: '__JS__/',
        version: '1.0.1'
    }).use(['app', 'message'], function() {
        var app = layui.app,
            $ = layui.jquery,
            layer = layui.layer;
        //将message设置为全局以便子页面调用
        message = layui.message;
        //主入口
        app.set({
            type: 'iframe'
        }).init();
    });
</script>

</body>
</html>
